package com.newlink.building.login.mvp.model

import com.newlink.building.login.mvp.contract.Module_Login_InputVerifySMSCodeContract
import com.newlink.building.common_base.base.BaseModel
import com.newlink.building.common_base.http.Base_RetrofitHelper
import com.newlink.building.common_base.model.bean.HttpResult
import io.reactivex.Observable


class Module_Login_InputVerifySMSCodeModel : BaseModel(), Module_Login_InputVerifySMSCodeContract.Model {
    override fun sendVerifySMSCode(
        area: String,
        mobileNumber: String,
        code: String,
    ): Observable<HttpResult<Boolean?>> {
        return Base_RetrofitHelper.service.checkMobileCode(area, mobileNumber, code)
    }
}